$OpenBSD: patch-epan_crypt_airpdcap_ccmp_c,v 1.3 2016/10/14 11:00:22 sthen Exp $

Compiler issues warning, copy 3 MAC as separate memcpy
change the structure to do as a single memcpy.

--- epan/crypt/airpdcap_ccmp.c.orig	Tue Oct  4 19:27:46 2016
+++ epan/crypt/airpdcap_ccmp.c	Thu Oct 13 10:59:39 2016
@@ -151,7 +151,9 @@ static void ccmp_init_blocks(
 		aad[2] = wh->fc[0];
 	aad[3] = (UINT8)(wh->fc[1] & 0xc7);    /* XXX magic #s */
 	/* NB: we know 3 addresses are contiguous */
-	memcpy(aad + 4, &wh->addr1[0], 3 * AIRPDCAP_MAC_LEN);
+	memcpy(aad + 4, &wh->addr1[0], AIRPDCAP_MAC_LEN);
+	memcpy(aad + 4 + AIRPDCAP_MAC_LEN, &wh->addr2[0], AIRPDCAP_MAC_LEN);
+	memcpy(aad + 4 + 2 * AIRPDCAP_MAC_LEN, &wh->addr3[0], AIRPDCAP_MAC_LEN);
 	aad[22] = (UINT8)(wh->seq[0] & AIRPDCAP_SEQ_FRAG_MASK);
 	aad[23] = 0; /* all bits masked */
 	/*
